<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			.box{
				width: 100px;
				height: 100px;
				background: red;
				position: fixed;
				top: 50px;
				left: 0px;
				font-size: 16px;
				/*display: none;*/
			}
		</style>
		<script src="js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function(){
				$("button").click(function(){
//					$(".box").fadeTo(3000,0.3);
					$(".box").animate({
						width:200,
						height:200,
						top:200,
						left:200,
						fontSize:30
					},3000,"linear",function(){
						$(".box").hide();
					});
					
				})
				setTimeout(function(){
					$(".box").stop();
				},1000)
			})
		</script>
	</head>
	<body>
		<button>anniu</button>
		<div class="box">
			盒子
		</div>
	</body>
</html>
